using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._TerritoryDesignTools._TerritorySolution
{
    /// <summary>
    /// <para>Create Territory Level Feature Classes</para>
    /// <para>Creates feature classes for a specified level.</para>
    /// <para>为指定级别创建要素类。</para>
    /// </summary>    
    [DisplayName("Create Territory Level Feature Classes")]
    public class CreateTerritoryLevelFeatureClasses : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public CreateTerritoryLevelFeatureClasses()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_territory_solution">
        /// <para>Input Territory Solution</para>
        /// <para>The Territory Design solution layer that will be used in the analysis.</para>
        /// <para>将在分析中使用的 Territory Design 解决方案图层。</para>
        /// </param>
        /// <param name="_level">
        /// <para>Level</para>
        /// <para>The level to which the feature classes will be added.</para>
        /// <para>将要素类添加到的级别。</para>
        /// </param>
        /// <param name="_feature_classes">
        /// <para>Feature Classes</para>
        /// <para><xdoc>
        ///   <para>Creates a point or polygon feature class at the specified level.</para>
        ///   <bulletList>
        ///     <bullet_item>Territory Boundaries—Polygon features that represent the territory boundaries.</bullet_item><para/>
        ///     <bullet_item>Territory Centers—Point features that represent the territory centers.</bullet_item><para/>
        ///     <bullet_item>Base Boundaries—Polygon features that represent the base boundaries.</bullet_item><para/>
        ///     <bullet_item>Base Centers—Point features that represent the base centers.</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>创建指定级别的点或面要素类。</para>
        ///   <bulletList>
        ///     <bullet_item>Territory Boundaries - 表示 Territory 边界的面要素。</bullet_item><para/>
        ///     <bullet_item>区域中心 - 表示区域中心的点要素。</bullet_item><para/>
        ///     <bullet_item>基边界 - 表示基边界的面要素。</bullet_item><para/>
        ///     <bullet_item>基础中心 （Base Centers） - 表示基础中心的点要素。</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// </param>
        public CreateTerritoryLevelFeatureClasses(object _in_territory_solution, object _level, List<object> _feature_classes)
        {
            this._in_territory_solution = _in_territory_solution;
            this._level = _level;
            this._feature_classes = _feature_classes;
        }
        public override string ToolboxName => "Territory Design Tools";

        public override string ToolName => "Create Territory Level Feature Classes";

        public override string CallName => "td.CreateTerritoryLevelFeatureClasses";

        public override List<string> AcceptEnvironments => ["workspace"];

        public override object[] ParameterInfo => [_in_territory_solution, _level, _feature_classes, _out_territory_solution];

        /// <summary>
        /// <para>Input Territory Solution</para>
        /// <para>The Territory Design solution layer that will be used in the analysis.</para>
        /// <para>将在分析中使用的 Territory Design 解决方案图层。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Territory Solution")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_territory_solution { get; set; }


        /// <summary>
        /// <para>Level</para>
        /// <para>The level to which the feature classes will be added.</para>
        /// <para>将要素类添加到的级别。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Level")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _level { get; set; }


        /// <summary>
        /// <para>Feature Classes</para>
        /// <para><xdoc>
        ///   <para>Creates a point or polygon feature class at the specified level.</para>
        ///   <bulletList>
        ///     <bullet_item>Territory Boundaries—Polygon features that represent the territory boundaries.</bullet_item><para/>
        ///     <bullet_item>Territory Centers—Point features that represent the territory centers.</bullet_item><para/>
        ///     <bullet_item>Base Boundaries—Polygon features that represent the base boundaries.</bullet_item><para/>
        ///     <bullet_item>Base Centers—Point features that represent the base centers.</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>创建指定级别的点或面要素类。</para>
        ///   <bulletList>
        ///     <bullet_item>Territory Boundaries - 表示 Territory 边界的面要素。</bullet_item><para/>
        ///     <bullet_item>区域中心 - 表示区域中心的点要素。</bullet_item><para/>
        ///     <bullet_item>基边界 - 表示基边界的面要素。</bullet_item><para/>
        ///     <bullet_item>基础中心 （Base Centers） - 表示基础中心的点要素。</bullet_item><para/>
        ///   </bulletList>
        /// </xdoc></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Feature Classes")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public List<object> _feature_classes { get; set; }


        /// <summary>
        /// <para>Updated Territory Solution</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Territory Solution")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_territory_solution { get; set; }


        public CreateTerritoryLevelFeatureClasses SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}